﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XQ.WeChatOfficialAccount.DAL.Model.Sys;

namespace XQ.WeChatOfficialAccount.DAL.Model.Business
{
    /// <summary>
    /// 文章查询列表模型类
    /// </summary>
    public class ContextsSearchModel: SearchModelBase
    {
        /// <summary>
        /// 类别ID
        /// </summary>
        public int CategoryTypeID { get; set; }
        /// <summary>
        /// 发布时间起
        /// </summary>
        public DateTime SendTimeStart { get; set; } = new DateTime(1970, 1, 1);
        /// <summary>
        /// 发布时间止
        /// </summary>
        public DateTime SendTimeEnd { get; set; } = new DateTime(9999, 12, 31);
        /// <summary>
        /// 是否发布（手机端调用时，固定传true）
        /// </summary>
        public bool? IsSend { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string Context { get; set; }
    }
}
